package day4;

public class te7 {
    public static void main(String[] args) {
    int []arr = {1,23,42,3,4};
    int min=arr[0];
        for (int i = 1; i < arr.length; i++) {
            if(min > arr[i]) min =arr[i];
        }
    System.out.println(min);
    }
}
